Skip to content

Conversation

@DouweM
Copy link
Collaborator

@DouweM DouweM commented Nov 6, 2025

Fixes #3350

Bug introduced by #2913

@DouweM DouweM changed the title Fix RunContext.tool_call_approved being enabled when history ends in unapproved tool call Fix tool call incorrectly being considered approved when history ends in unapproved tool call Nov 6, 2025
@github-actions
Copy link

github-actions bot commented Nov 6, 2025

Docs Preview

commit: aa7a300
Preview URL: https://17b51673-pydantic-ai-previews.pydantic.workers.dev

@DouweM DouweM merged commit 930d74c into main Nov 6, 2025
31 checks passed
@DouweM DouweM deleted the tool-call-approved branch November 6, 2025 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tool_call_approved even though it isn't if run_step == 0

2 participants